#!/usr/bin/env python
'''
1.2) Write a script that asks someone to input their first name, 
last name and phone number. If the user does not type at least some 
characters for each of these, print "Do not leave any fields empty" 
otherwise print "Thank you". (Hint: if a variable is empty, its 
value will be "false".) 
1.3) Change the script so that the script 
prints "Thank you" if either the first name or the last name or the 
phone number is supplied. Print "Do not leave all fields empty" 
otherwise. 
1.4) Change the script so that only first name and last 
name are required. The phone number is optional. 
'''
fn = input("Voornaam: ")
ln = input("Achternaam: ")
pn = input("Telefoon: ")
# v1
'''
if (not(fn and ln and pn)):
	print("Do not leave any fields empty")
else:
	print("Thank you.")
'''

# v2
'''
if (fn or ln or pn):
	print("Thank you")
else:
	print("Do not leave all fields empty")
'''

# v3
if (not(fn) or not(ln)):
	print("fn and ln are required")
else:
	print("Thank you")
	
print(fn + " " + ln + " " + pn)
